<html>
<head><meta charset="utf-8"><title>Workaround for #1541 · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Workaround.20for.20.231541.html">Workaround for #1541</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="174455547"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Workaround%20for%20%231541/near/174455547" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Yamnitsky <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Workaround.20for.20.231541.html#174455547">(Aug 29 2019 at 13:50)</a>:</h4>
<p>Hi, I am wondering if anyone has an idea of how to work around issue <a href="https://github.com/rust-lang/rust/issues/1541" target="_blank" title="https://github.com/rust-lang/rust/issues/1541">#1541</a>. I am on macOS and hit it 100% of the time on my project. I confirmed using lldb as described in the issue. Is there perhaps a way to disable the language server features but still get error messages reported in vscode with cargo watch? Thanks :)</p>



<a name="174455608"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Workaround%20for%20%231541/near/174455608" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Yamnitsky <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Workaround.20for.20.231541.html#174455608">(Aug 29 2019 at 13:51)</a>:</h4>
<p>The issue link above isn't right, it's <a href="https://github.com/rust-analyzer/rust-analyzer/issues/1541" target="_blank" title="https://github.com/rust-analyzer/rust-analyzer/issues/1541">https://github.com/rust-analyzer/rust-analyzer/issues/1541</a></p>



<a name="174455749"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Workaround%20for%20%231541/near/174455749" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Workaround.20for.20.231541.html#174455749">(Aug 29 2019 at 13:52)</a>:</h4>
<p><span class="user-mention" data-user-id="236448">@David Yamnitsky</span> to clarify, in lldb you see a thread stuck in <code>notify</code>? Or in <code>chalk</code>? We unfortunately have two different things that might cause 100% CPU</p>



<a name="174455822"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Workaround%20for%20%231541/near/174455822" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Yamnitsky <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Workaround.20for.20.231541.html#174455822">(Aug 29 2019 at 13:53)</a>:</h4>
<p>one sec, double checking...</p>



<a name="174456134"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Workaround%20for%20%231541/near/174456134" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> David Yamnitsky <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Workaround.20for.20.231541.html#174456134">(Aug 29 2019 at 13:57)</a>:</h4>
<p>It's in notify, not chalk</p>



<a name="174456686"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Workaround%20for%20%231541/near/174456686" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Workaround.20for.20.231541.html#174456686">(Aug 29 2019 at 14:03)</a>:</h4>
<p>Thanks! Yeah, unfortunatelly there isn't a quick solution for this problem at the moment. I guess we should abstract away the file watching service and explore alternative backends, like watchman or vscode build-in watcher</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>